package cn.hnevc.liangrenquan;
public class Task01 {
	public static void main(String[] args) {
		Computer c = new Computer();
		
		c.add(new Gpu());
		c.add(new Netcard());
		c.add(new Sonundcard());
		
		c.powerOn();
		System.out.println();
		c.powerOff();
	}
}


